<script type="application/javascript">

function user(obj) {
    var data = obj.data;
    layer.open({
        type: 2,
        title: '分配用户',
        area: ['95%', '90%'],
        content: "/role/page/user/query?roleId=" + data.id
    });
}

function menu(obj) {
    var data = obj.data;
    layer.open({
        type: 2,
        title: '分配菜单',
        area: ['95%', '90%'],
        content: "/role/page/menu/query?roleId=" + data.id
    });
}

</script>